package com.cskaoyan.demo6.mapper;

import com.cskaoyan.demo6.bean.model.MarketPermission;
import com.cskaoyan.demo6.bean.model.MarketPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*@Description：
*@Author：BLUEBLANK
*@Date：2024/4/20  21:13
*/


    
public interface MarketPermissionMapper {
    long countByExample(MarketPermissionExample example);

    int deleteByExample(MarketPermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketPermission record);

    int insertOrUpdate(MarketPermission record);

    int insertOrUpdateSelective(MarketPermission record);

    int insertSelective(MarketPermission record);

    List<MarketPermission> selectByExample(MarketPermissionExample example);

    MarketPermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketPermission record, @Param("example") MarketPermissionExample example);

    int updateByExample(@Param("record") MarketPermission record, @Param("example") MarketPermissionExample example);

    int updateByPrimaryKeySelective(MarketPermission record);

    int updateByPrimaryKey(MarketPermission record);

    int updateBatch(List<MarketPermission> list);

    int updateBatchSelective(List<MarketPermission> list);

    int batchInsert(@Param("list") List<MarketPermission> list);
}